Scheimpflug principle

The Scheimpflug principle is a geometric rule that describes the orientation of the plane of focus of an optical system (such as a camera) when the lens plane is not parallel to the image plane. It is commonly applied to the use of camera movements on a view camera. It is also the principle used in corneal pachymetry, the mapping of corneal topography, done prior to refractive eye surgery such as LASIK, and used for early detection of keratoconus. The principle is named after Austrian army Captain Theodor Scheimpflug, who used it in devising a systematic method and apparatus for correcting perspective distortion in aerial photographs.

Contents

Description of the Scheimpflug principle

Normally, the lens and image (film or sensor) planes of a camera are parallel, and the plane of focus (PoF) is parallel to the lens and image planes. If a planar subject (such as the side of a building) is also parallel to the image plane, it can coincide with the PoF, and the entire subject can be rendered sharply. If the subject plane is not parallel to the image plane, it will be in focus only along a line where it intersects the PoF, as illustrated in Figure 1.

When an oblique tangent is extended from the image plane, and another is extended from the lens plane, they meet at a line through which the PoF also passes, as illustrated in Figure 2 . With this condition, a planar subject that is not parallel to the image plane can be completely in focus.

Scheimpflug (1904) referenced this concept in his British patent; Carpentier (1901) also described the concept in an earlier British patent for a perspective-correcting photographic enlarger. The concept can be inferred from a theorem in projective geometry of Gérard Desargues; the principle also readily derives from simple geometric considerations and application of the Gaussian thin-lens formula, as shown in the section Proof of the Scheimpflug principle.

Changing the plane of focus

When the lens and image planes are not parallel, adjusting focus[1] rotates the PoF rather than displacing it along the lens axis. The axis of rotation is the intersection of the lens’s front focal plane and a plane through the center of the lens parallel to the image plane, as shown in Figure 3. As the image plane is moved from IP1 to IP2, the PoF rotates about the axis G from position PoF1 to position PoF2; the “Scheimpflug line” moves from position S1 to position S2. The axis of rotation has been given many different names: “counter axis” (Scheimpflug 1904), “hinge line” (Merklinger 1996), and “pivot point” (Wheeler).

Refer to Figure 4; if a lens with focal length f is tilted by an angle θ relative to the image plane, the distance J[2] from the center of the lens to the axis G is given by

J = \frac f {\sin \theta} .

If v′ is the distance along the line of sight from the image plane to the center of the lens, the angle ψ between the image plane and the PoF is given by[3]

\tan \psi = \frac {v'} {v' \cos \theta - f} \sin \theta .

Equivalently, on the object side of the lens, if u′ is the distance along the line of sight from the center of the lens to the PoF, the angle ψ is given by

\tan \psi = \frac {u'} f \sin \theta .

The angle ψ increases with focus distance; when the focus is at infinity, the PoF is perpendicular to the image plane for any nonzero value of tilt. The distances u′ and v′ along the line of sight are not the object and image distances u and v used in the thin-lens formula

\frac 1 u %2B \frac 1 v = \frac 1 f,

where the distances are perpendicular to the lens plane. Distances u and v are related to the line-of-sight distances by u = u′ cos θ and v = v′ cos θ.

For an essentially planar subject, such as a roadway extending for miles from the camera on flat terrain, the tilt can be set to place the axis G in the subject plane, and the focus then adjusted to rotate the PoF so that it coincides with the subject plane. The entire subject can be in focus, even if it is not parallel to the image plane.

The plane of focus also can be rotated so that it does not coincide with the subject plane, and so that only a small part of the subject is in focus. This technique sometimes is referred to as “anti-Scheimpflug”, though it actually relies on the Scheimpflug principle.

Rotation of the plane of focus can be accomplished by rotating either the lens plane or the image plane. Rotating the lens (as by adjusting the front standard on a view camera) does not alter linear perspective[4] in a planar subject such as the face of a building, but requires a lens with a large image circle to avoid vignetting. Rotating the image plane (as by adjusting the back or rear standard on a view camera) alters perspective (e.g., the sides of a building converge), but works with a lens that has a smaller image circle. Rotation of the lens or back about a horizontal axis is commonly called tilt, and rotation about a vertical axis is commonly called swing.

Camera movements

Tilt and swing are available on most view cameras, often on both the front and rear standards, and on some small- and medium format cameras with special lenses that partially emulate view-camera movements. Such lenses are often called tilt/shift or “perspective control” lenses.[5] For some camera models there are adapters that enable movements with some of the manufacturer’s regular lenses.

Depth of field

When the lens and image planes are parallel, the depth of field (DoF) extends between parallel planes on either side of the plane of focus. When the Scheimpflug principle is employed, the DoF becomes wedge shaped (Merklinger 1996, 32; Tillmanns 1997, 71),[6] with the apex of the wedge at the PoF rotation axis,[7] as shown in Figure 5. The DoF is zero at the apex, remains shallow at the edge of the lens’s field of view, and increases with distance from the camera. The shallow DoF near the camera requires the PoF to be positioned carefully if near objects are to be rendered sharply.

On a plane parallel to the image plane, the DoF is equally distributed above and below the PoF; in Figure 5, the distances yn and yf on the plane VP are equal. This distribution can be helpful in determining the best position for the PoF; if a scene includes a distant tall feature, the best fit of the DoF to the scene often results from having the PoF pass through the vertical midpoint of that feature. The angular DoF, however, is not equally distributed about the PoF.

The distances yn and yf are given by (Merklinger 1996, 126)

y_x = \frac f {v'} \frac {u'} u_\mathrm{h} J \,,

where f is the lens focal length, v′ and u′ are the image and object distances parallel to the line of sight, uh is the hyperfocal distance, and J is the distance from the center of the lens to the PoF rotation axis. By solving the image-side equation for tan ψ for v′ and substituting for v′ and uh in the equation above,[8] the values may be given equivalently by

y_x = \frac {Nc} {f} \left ( \frac {1} {\tan \theta} - \frac {1} {\tan \psi} \right ) u' \,,

where N is the lens f-number and c is the circle of confusion. At a large focus distance (equivalent to a large angle between the PoF and the image plane), v′f, and (Merklinger 1996, 48)[9]

y_x \approx \frac {u'} u_\mathrm{h} J \,,

or

y_x \approx \frac {Nc} {f} \frac {u'} {\tan \theta} \,.

Thus at the hyperfocal distance, the DoF on a plane parallel to the image plane extends a distance of J on either side of the PoF.

With some subjects, such as landscapes, the wedge-shaped DoF is a good fit to the scene, and satisfactory sharpness can often be achieved with a smaller lens f-number (larger aperture) than would be required if the PoF were parallel to the image plane.

Selective focus

The region of sharpness can also be made very small by using large tilt and a small f-number. For example, with 8° tilt on a 90 mm lens for a small-format camera, the total vertical DoF at the hyperfocal distance is approximately[10]

2J = 2 \frac {f} {\sin \theta} = 2 \times \frac {90 \text{ mm}} {\sin 8^\circ} = 1293 \text { mm} \,.

At an aperture of f/2.8, with a circle of confusion of 0.03 mm, this occurs at a distance u′ of approximately

\frac {f^2} {Nc} = \frac {90^2} {2.8 \times 0.03} = 96.4 \text { m} \,.

Of course, the tilt also affects the position of the PoF, so if the tilt is chosen to minimize the region of sharpness, the PoF cannot be set to pass through more than one arbitrarily chosen point. If the PoF is to pass through more than one arbitrary point, the tilt and focus are fixed, and the lens f-number is the only available control for adjusting sharpness.

Derivation of the formulas

Proof of the Scheimpflug principle

In a two-dimensional representation, an object plane inclined to the lens plane is a line described by

y_u=au%2Bb .

By optical convention, both object and image distances are positive for real images, so that in Figure 6, the object distance u increases to the left of the lens plane LP; the vertical axis uses the normal Cartesian convention, with values above the optical axis positive and those below the optical axis negative.

The relationship between the object distance u, the image distance v, and the lens focal length f is given by the thin-lens equation

\frac 1 u %2B \frac 1 v = \frac 1  f \,;

solving for u gives

u=\frac{vf}{v-f} \,,

so that

y_u=a \, \frac {vf} {v-f} %2Bb .

The magnification m is the ratio of image height yv to object height yu :

m=\frac{y_v}{y_u} \,;

yu and yv are of opposite sense, so the magnification is negative, indicating an inverted image. From similar triangles in Figure 6, the magnification also relates the image and object distances, so that

m=-\frac{v}{u}=-\frac{v-f}{f} .

On the image side of the lens,

\begin{align}
  y_{v} & =my_{u} \\ 
        & =-\frac{v-f}{f}\left( a \, \frac{vf}{v-f}%2Bb \right) \\
        & =-\left( av%2B\frac{v}{f}b-b \right) \,,
\end{align}

giving

y_{v}=-\left( a %2B \frac{b}{f} \right)v%2Bb .

The locus of focus for the inclined object plane is a plane; in two-dimensional representation, the y-intercept is the same as that for the line describing the object plane, so the object plane, lens plane, and image plane have a common intersection.

A similar proof is given by Larmore (1965, 171–173).

Angle of the PoF with the image plane

From Figure 7,

\tan \psi = \frac {u' %2B v'} {S} \,,

where u′ and v′ are the object and image distances along the line of sight and S is the distance from the line of sight to the Scheimpflug intersection at S. Again from Figure 7,

\tan \theta = \frac {v'} {S} \,;

combining the previous two equations gives

\tan \psi = \frac {u' %2B v'} {v'} \tan \theta = \left ( \frac {u'} {v'} %2B 1 \right ) \tan \theta \,.

From the thin-lens equation,

\frac {1} {u} %2B \frac {1} {v} = \frac {1} {u' \cos \theta} %2B \frac {1} {v' \cos \theta} = \frac {1} {f} \,.

Solving for u′ gives

u' = \frac {v' f} {v' \cos \theta - f} \,;

substituting this result into the equation for tan ψ gives

\tan \psi = \left ( \frac {f} {v' \cos \theta - f} %2B 1 \right ) \tan \theta
 = \frac {f %2B v' \cos \theta - f} {v' \cos \theta -f} \tan \theta \,,

or

\tan \psi = \frac {v'} {v' \cos \theta - f} \sin \theta \,.

Similarly, the thin-lens equation can be solved for v′, and the result substituted into the equation for tan ψ to give the object-side relationship

\tan \psi = \frac {u'} {f} \sin \theta \,.

Noting that

\frac {u'} {f} = \frac {u} {f} \frac {1} {\cos \theta}
                      = \frac {m %2B 1} {m} \frac {1} {\cos \theta} \,,

the relationship between ψ and θ can be expressed in terms of the magnification m of the object in the line of sight:

\tan \psi = \frac {m %2B 1} {m} \tan \theta \,.

Proof of the “hinge rule”

From Figure 7,

\tan \psi = \frac {u'} {J} \,;

combining with the previous result for the object side and eliminating ψ gives

\sin \theta = \frac {f} {J} \,.

Again from Figure 7,

\sin \theta = \frac {d} {J} \,,

so the distance d is the lens focal length f, and the point G is at the intersection the lens’s front focal plane with a line parallel to the image plane. The distance J depends only on the lens tilt and the lens focal length; in particular, it is not affected by changes in focus. From Figure 7,

\tan \theta = \frac {v'} {S} \,,

so the distance to the Scheimpflug intersection at S varies as the focus is changed. Thus the PoF rotates about the axis at G as focus is adjusted.

Notes

  1. ^ Strictly, the PoF rotation axis remains fixed only when focus is adjusted by moving the camera back, as on a view camera. When focusing by moving the lens, there is a slight motion of the rotation axis, but except for very small camera-to-subject distances, the motion is usually insignificant.
  2. ^ The symbol J for the distance from the center of the lens to the PoF rotation axis was introduced by Merklinger (1996), and apparently has no particular significance.
  3. ^ Merklinger (1996, 24) gives the formula for the angle of the plane of focus as
    \frac {v'} {f} = \sin \theta \left [ \frac {1} {\tan \left ( \psi - \theta \right ) } %2B \frac {1} {\tan \theta } \right ] \,;
    by application of the angle-difference formula for the tangent and rearrangement, it can be transformed into the form given in this article.
  4. ^ Strictly, keeping the image plane parallel to a planar subject maintains perspective in that subject only when the lens is of symmetrical design, i.e., the entrance and exit pupils coincide with the nodal planes. Most view-camera lenses are nearly symmetrical, but this is not always the case with tilt/shift lenses used on small- and medium-format cameras, especially with wide-angle lenses of retrofocus design. If a retrofocus or telephoto lens is tilted, the angle of the camera back may need to be adjusted to maintain perspective.
  5. ^ The earliest Nikon perspective-control lenses included only shift, hence the designation “PC”; Nikon PC lenses introduced since 1999 also include tilt but retain the earlier designation.
  6. ^ When the lens plane is not parallel to the image plane, the blur spots are ellipses rather than circles, and the limits of DoF are not exactly planar. There is little data on human perception of elliptical rather than circular blurs, but taking the major axis of the ellipse as the governing dimension is arguably the worst-case condition. Using this assumption, Robert Wheeler examines the effect of elliptical blur spots on DoF limits for a tilted lens in his Notes on View Camera Geometry; he concludes that in typical applications, the effect is negligible, and that the assumption of planar DoF limits is reasonable. His analysis considers only points on a vertical plane through the center of the lens, however. Leonard Evens examines the effect of elliptical blur at any arbitrary point in the image plane, and concludes that, in most cases, the error from assuming planar DoF limits is minor.
  7. ^ Tillmanns indicates that this behavior was discovered during the development of the Sinar e camera (released in 1988), and that prior to that, the DoF wedge was thought to extend to the line of intersection of the object, lens, and image planes. He does not discuss the rotation of the PoF about the apex of the DoF wedge.
  8. ^ Merklinger uses the approximation uhf2/Nc to derive his formula, so the substitution here is exact.
  9. ^ Strictly, as the focus distance approaches infinity, v′ cos θf; hence, the approximate formulas differ by a factor of cos θ. At small values of θ, cos θ ≈ 1, so the difference is negligible. With large values of tilt, as occasionally might be needed with a large-format camera, the error becomes greater, and either the exact formula or the approximate formula in terms of tan θ should be used.
  10. ^ The example here uses Merklinger’s approximation. For small values of tilt, sin θ ≈ tan θ, so the error is minimal; for large values of tilt, the denominator should be tan θ.

References

External links